package com.pacy.pacybaseproject.fragments;

import android.graphics.Color;
import android.os.Bundle;
import android.util.TypedValue;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import com.fondesa.recyclerviewdivider.DividerBuilder;
import com.pacy.pacybaseproject.BR;
import com.pacy.pacybaseproject.R;
import com.pacy.pacybaseproject.base.BaseXFragment;
import com.pacy.pacybaseproject.databinding.FragmentBusBinding;
import com.pacy.pacybaseproject.databinding.FragmentOneCodeBinding;
import com.pacy.pacybaseproject.viewmodels.BusViewModel;
import com.pacy.pacybaseproject.viewmodels.OneCodeViewModel;
import com.xuexiang.xui.utils.ColorUtils;

import io.reactivex.annotations.Nullable;

/**
 * @author PACY
 * @date 2023/12/20
 * description: 一码通行
 */
public class OneCodeFragment extends BaseXFragment<FragmentOneCodeBinding, OneCodeViewModel> {

    public static OneCodeFragment newInstance(String title) {

        Bundle args = new Bundle();
        args.putString("title", title);
        OneCodeFragment fragment = new OneCodeFragment();
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    public int initContentView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return R.layout.fragment_one_code;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public void initData() {
        super.initData();
    }
}
